const {
	Controller
} = require('uni-cloud-router')
module.exports = class MockController extends Controller {
	async login() {
		return this.service.user.login()
	}
	async register() {
		return this.service.user.register()
	}
	async logout() {
		return this.service.user.logout()
	}
	async token() {
		return this.service.user.token()
	}
	async userinfo() {
		return this.service.user.userinfo()
	}
}
